package com.boarsoft.boar.sys.job;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.boarsoft.boar.sys.SysJobBiz;

@Component("sysJob")
public class SysJob {
	protected Log log = LogFactory.getLog(this.getClass());
	@Autowired
	private SysJobBiz sysJobBiz;

	/**
	 * 每10秒执行一次的定时任务
	 */
	public void execute(){
		sysJobBiz.clear();
	}
}